<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>编辑 uri 信息</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link href="/layui/css/layui.css" rel="stylesheet">
</head>
<body>
	<form class="layui-form" style="padding: 20px;" lay-filter="urisForm">
		<input type="hidden" name="id">
		<div class="layui-form-item">
			<label class="layui-form-label">权限组</label>
			<div class="layui-input-block">
				<select name="authID" lay-verify="required">
					<option value="">请选择权限组</option>
				</select>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">URI</label>
			<div class="layui-input-block">
				<input type="text" name="uri" required lay-verify="required" placeholder="URI路径" autocomplete="off" class="layui-input" readonly>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">描述</label>
			<div class="layui-input-block">
				<input type="text" name="desc" placeholder="请输入URI描述" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">排序值</label>
			<div class="layui-input-block">
				<input type="number" name="sort" value="0" placeholder="请输入排序值（数值越小排在前面）" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit lay-filter="submitUris">保存</button>
			</div>
		</div>
	</form>
	<script src="/layui/layui.js"></script>
	<script src="/js/auth/uris_edit.js"></script>
</body>
</html>